home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
manage
/
gtree.arc
/
README
< prev
Wrap
Text File
|
1988-03-17
|
7KB
|
398 lines
GTREE and HUNT
Introduction
There are two programs contained here, HUNT and GTREE. HUNT is
used to locate a file anywhere on a disk that contains
subdirectories. GTREE will print a graphical representation of
the tree structure of a disk.
Source code for both programs is included in this archive. These
programs were written using Turbo C version 1.5 by Borland
International. They will compile without any problems using this
compiler. The command line syntax used was TCC -w -A. These
programs will compile and run correctly with the -d and -G flags
although little time and space will be saved.
If you decide to change either program, you had best be aware
that there are some things to be aware of. Both program have a
function named buildtree() and GTREE has a function named
print_tree(). These are recursive. Be careful with any changes
you may make.
Since there is always the possibility of stack overflow with
recursive functions, both programs have increased the stack size
of 32768 bytes. You are free to lower this number if needed, but
this should be no problem. Both will run with the standard stack
size of 4096 bytes on a 20 meg harddisk with 61 directories and
subdirectories. This is just above as many as I have ever seen,
so I don't expect anyone to have a problem there.
PAGE - 1-
GTREE and HUNT
Licensing, Support And Copyright
These programs are the property of D. M. Software And Systems.
They are being released as described in this documentation for
the convenience of the general public, not for resale or use in a
corporate or governmental environment.
These programs are to be considered "Shareware". This means that
you are free to use this program as you see fit. However, you
are asked to send $20.00 to help support this program. This fee
will also entitle you to one free upgrade and some technical
support. Information will also be provided on other programs
released by D. M. Software And Systems if requested.
You are also free to copy these programs, including the source,
and redistribute them, as long as no fee is charged for this
service and none of the copyright notices that appear either in
the code, or at runtime are changed.
No support will be provided for unregistered users. Those that
have sent their $20.00 registration fee can contact D. M.
Software And Systems by phone at (314) 296-4719. Sorry, but no
collect calls can be accepted.
Since D. M. Software And Systems is a one man consulting and
contracting firm, it will not always be possible to get telephone
support. However, if your problem is not urgent, you can write
to:
D. M. Software And Systems
6572 Suson Woods Drive
St. Louis, MO 63128
Those of you who have a subscription to Compuserve can leave a
message via Easyplex to user ID 71251,3121. In either case,
please make sure to give me a complete description of your
problem, the program you are using, the version number, your
serial number, and how you can be reached once your problem has
been resolved.
PAGE - 2-
GTREE and HUNT
GTREE Usage
GTREE is an easy to use program that will print a graphical
representation of your disk's tree structure. As such, it has
only to command line parameters, the drive number and the ability
to change the characters used to print the connectors in the
tree. Correct usage is:
GTREE [drive:] [-G]
If the drive specification is not present, the current drive is
used. Normally this is the case.
-G changes the characters used for connectors in the tree. It
can be specified as either upper or lower case, and can be before
or after the drive designation. There is no reason to use this
switch on any tree printed on the screen. This option is for
printers that cannot print any of the characters in the PC's
graphics character set. If your print will print the normal box
on the last page of this document, there is no need for this
option.
PAGE - 3-
GTREE and HUNT
HUNT Usage
HUNT is an easy way to find a file, or list of files, anywhere on
a disk. Like GTREE, there are few command line options. Correct
syntax is:
HUNT filespec [filespec] [-H] [-K] [-V]
More than one file specification can be present on a command
line. If this happens, then each directory will be search once
for each specification found.
-H is used to display the usage message.
-K is used to "Kill" files. All matching files will be deleted,
after operator verification.
-V "preverifies" the deletion request. For example, when I go to
backup my harddisk, I type "HUNT *.BAK -k -v". All .BAK files
are automatically deleted.
All flags and file specifications can be specified in any order.
PAGE - 4-
GTREE and HUNT
HUNT Usage
Registration For GTREE and HUNT
Please fill out the form below and return:
D. M. Software And Systems
6572 Suson Woods Drive
St. Louis, MO 63128
Signing this form means you have read the license and
distribution requirement, understand them, and agree to follow
them.
Corporate and Govermental users please contact D. M. Software And
Systems at (314) 296-4719 for current site licensing
arrangements.
You will be mailed a verification along with your serial number
upon receipt of this form. Registration entitles you to one free
upgrade, either to the current version on receipt of this form,
or to the next version.
Please make checks payable to D. M. Software And Systems.
Registration is $20.00 payable in U.S. funds. Outside the United
States, please add $2.00 for exchange.
Name ______________________________________________
Address ______________________________________________
City ______________________________________________
State ______ Zip Code ____________________________
Signature _____________________________________________
Product GTREE and HUNT version 1.00
PAGE - 5-
GTREE and HUNT
HUNT Usage
Sample For Printer
This is the sample boxes for testing your printer. If the second
box prints, then you do not need to use the -g switch with GTREE.
Text Box +-+
| |
+-+
Graphics Box ┌─┐
│ │
└─┘
PAGE - 6-